{extend name="Public:base" /}
      {block name="seo"}
         <title>{$Think.CONFIG.WEB_SITE_TITLE} - Powered by EasySNS!</title>
  
  
  <meta name="keywords" content="{$Think.CONFIG.WEB_SITE_KEYWORD}">
  <meta name="description" content="{$Think.CONFIG.WEB_SITE_DESCRIPTION}">
{/block}
{block name="body"}

<div class="aw-container-wrap aw-container-wrap">
		<div class="container">
			<div class="row">
			<div class="aw-content-wrap clearfix">
				<div class="col-sm-12 col-md-9 aw-main-content">

					<!-- end 新消息通知 -->
					
			<!-- tab切换 -->
					<ul class="nav nav-tabs aw-nav-tabs active hidden-xs">
					
						<li {if condition="$order eq 2"}class="active"{/if}><a href="{:es_url('topic/cindex',array('order'=>2,'id'=>$id))}" id="sort_control_hot">热门</a></li>
						<li {if condition="$order eq 3"}class="active"{/if}><a href="{:es_url('topic/cindex',array('order'=>3,'id'=>$id))}">推荐</a></li>
						<li {if condition="$order eq 1"}class="active"{/if}><a href="{:es_url('topic/cindex',array('order'=>1,'id'=>$id))}">最新</a></li>

						<h2 class="hidden-xs"><i class="iconfont icon-liebiao"></i> {$cateinfo['name']}</h2>
					</ul>
					<!-- end tab切换 -->

					
					<div class="aw-mod aw-explore-list">
						<div class="mod-body">
							<div class="aw-common-list">
							
							{volist name="topiclist" id="vo"}
							
							
							
								<div class="aw-item" id="aw-item_0">
	<div class="aw-user-imgs">
	<a class="aw-user-name aw-user-name-o hidden-xs" data-id="{$vo['uid']}"  href="{:es_url('user/home',array('id'=>$vo['uid']))}" rel="nofollow">
	<img src="{$vo.userhead|getheadurl}" alt="{$vo['nickname']}">
	<p>{$vo['nickname']}</p>
	
	{if condition="$vo['rzstatus']"}
	<i class="iconfont {$vo['rzicon']}"></i>
	{/if}
	</a>	
	
	<div class="userline hidden-xs" id="userline_0"></div>
	</div>
	<div class="aw-question-content" id="aw-question-content_0">
					<div class="">
	<a class="aw-user-name aw-user-name-o visible-xs" data-id="{$vo['uid']}"  href="{:es_url('user/home',array('id'=>$vo['uid']))}" rel="nofollow">
	<img src="{$vo.userhead|getheadurl}" alt="{$vo['nickname']}">
	<p>{$vo['nickname']}</p>
	
	{if condition="$vo['rzstatus']"}
	<i class="iconfont {$vo['rzicon']}"></i>
	{/if}
	</a>	
	
	
	</div>
				<div class="pull-right">
			<div class=""><i class="iconfont icon-zan2"></i>
			{$vo.praise}			</div>
		</div>
		<p>
		{if condition="$vo.settop eq 1"}<span class="label label-danger es-margin-r-5">置顶</span>{/if}
						
			<span class="text-color-999">
							{$vo.replystr}</span>
						 									{if condition="$vo.choice eq 1"}<span class="spanb_a">荐</span>	{/if}									</p>
		<h4>
						<a class="listlink" href="{:es_url('Topic/gview',array('id'=>$vo['id']))}">{$vo.title}</a>
									<span class="spantopics">
						
						{if condition="$vo.gidtext neq ''"}
						{volist name="vo['htlist']" id="subvo"}
				<a class="aw-question-topics" href="{:es_url('Topic/index',array('name'=>$subvo))}">{$subvo}</a>
						{/volist}
				{/if}
						</span>
					</h4>			
		<div class="inner clearfix">
				<p class="question-text" style=" color: #666; font-size:13px;">
			{$vo['description']}</p>
						<div class="inners clearfix">
		<div class="row">
		
		{if condition="$vo['imagescount'] gt 0" }
		{volist name="vo['imagesarr']" id="imagesubvo" key="okey"}
			<div class="shibox shiboximg col-xs-4 col-sm-4 col-md-4">
					{if condition="$okey eq 1"}
				<div class="num">共{$vo['imagescount']}张</div>
				{/if}
				<a href="{:es_url('Topic/gview',array('id'=>$vo['id']))}" target="_blank" >
				<img class="img-polaroidst img-responsive" src="{$imagesubvo}" alt="{$vo.title}" >
				</a>
			</div>
			{/volist}
		{/if}		
					</div>
		</div>
				<div class="awfo-box">
				
				{if condition="$vo['reply'] gt 0"}
												<a href="{:es_url('user/home',array('id'=>$vo['replyuid']))}" class="aw-user-name" data-id="{$vo['replyuid']}">{$vo['replyuser']}</a> 
				<span class="text-color-9999 idown">评论了帖子 &nbsp;&nbsp;
				{/if}
				
				<i class="iconfont icon-liulan fz16"></i> {$vo.view} 浏览 &nbsp;&nbsp;<i class="iconfont icon-chat fz16"></i> {$vo.reply} <em>评论</em></span>
											</div>
		</div>
				
		
	</div>
</div>
{/volist}
							</div>
						</div>
						<div class="mod-footer">
							<div class="page-control">
							{$page}
							</div>						</div>
					</div>
				</div>

				<!-- 侧边栏 -->
		<div class="col-sm-12 col-md-3 aw-side-bar hidden-xs hidden-sm">
				 {:hook('qiandao')} 

					
					<div class="aw-mod aw-text-align-justify">
						<div class="mod-head">
							<a href="{:es_url('topic/htlist')}"
								class="pull-right">更多 &gt;</a>
							<h3>热门话题</h3>
						</div>
						<div class="mod-body">
							
							{volist name="hotgrouplist" id="vo"}
							<dl>
								<dt class="pull-left aw-border-radius-5">
									<a href="{:es_url('topic/index',array('name'=>$vo.name))}">
									<img alt="" src="{$vo.cover_id|get_picture_url}"></a>
								</dt>
								<dd class="pull-left">
									<p class="clearfix">
										<span class="topic-tag"> 
										<a href="{:es_url('topic/index',array('name'=>$vo.name))}" class="text">{$vo.name}</a>
										</span>
									</p>
									<p>
										<b>{$vo.topiccount}</b> 个帖子, <b>{$vo.membercount}</b> 人关注
									</p>
								</dd>
							</dl>
							{/volist}
						</div>
					</div>
					<div class="aw-mod aw-text-align-justify">
		<div class="mod-head">
		<a href="{:es_url('user/setverify')}" class="pull-right">申请 &gt;</a>
		<h3>认证达人</h3>
	</div>
		<div class="mod-body">
		{volist name="rzuserlist" id="vo"}
		
		<dl>
			<dt class="pull-left aw-border-radius-5">
				<a href="{:es_url('user/home',array('id'=>$vo['uid']))}"><img src="{$vo.userhead|getheadurl}" alt="{$vo['nickname']}"></a>
			</dt>
			<dd class="pull-left">
				<a href="{:es_url('user/home',array('id'=>$vo['uid']))}" data-id="{$vo.uid}" class="aw-user-name">{$vo.nickname}&nbsp;&nbsp;<i class="fz16 iconfont {if condition='$vo.type eq 1'}icon-myvip{else/}icon-myvip i-ve{/if}" title="{if condition='$vo.type eq 1'}个人认证{else/}企业认证{/if}"></i>						</a>
			
				<p><b>{$vo.topiccount}</b> 个帖子, <b>{$vo.zancount}</b> 次赞同</p>
				
			</dd>
		
			
		</dl>
		<ul class="text-color-999">
			<p><i class="iconfont icon-prestige text-color-999"></i>威望 <b>{$vo.expoint2}</b> <em class="text-color-999">•</em> <i class="iconfont icon-thank text-color-999"></i>金币 <b>{$vo.point}</b>
			</p>
			<p>
			<i class="iconfont icon-user text-color-999"></i>粉丝 <b>{$vo.fscount}</b>
			 <em class="text-color-999">•</em>	
			<i class="iconfont icon-score text-color-999"></i>经验 <b>{$vo.expoint1}</b>
						</p>
		</ul>
		{/volist}
			</div>
		
		</div>					
					<div class="aw-mod aw-text-align-justify">
	<div class="mod-head">
		
		<h3>热门用户</h3>
	</div>
	<div class="mod-body">
			{volist name="hotuserlist" id="vo"}		
		<dl>
			<dt class="pull-left aw-border-radius-5">
				<a href="{:es_url('user/home',array('id'=>$vo['id']))}"><img src="{$vo.userhead|getheadurl}" alt="{$vo['nickname']}"></a>
			</dt>
			<dd class="pull-left">
				<a href="{:es_url('user/home',array('id'=>$vo['id']))}" data-id="{$vo.id}" class="aw-user-name vusername">{$vo.nickname}</a>
				{if condition="$vo.type"}
				
				&nbsp;&nbsp;<i class="fz16 iconfont {if condition='$vo.type eq 1'}icon-myvip{else/}icon-myvip i-ve{/if}" title="{if condition='$vo.type eq 1'}个人认证{else/}企业认证{/if}"></i>					
				
				
				
				{/if}
				
				<p><b>{$vo.topiccount}</b> 个帖子, <b>{$vo.zancount}</b> 次赞同</p>
			</dd>
		</dl>
			{/volist}
					</div>
</div>										
							</div>
				<!-- end 侧边栏 -->
			</div>
		</div>
	</div>
</div>
{/block}		
